package com.kajespero.dao.commons;

import com.kajespero.vo.IdentifierVO;

public interface ReadWriteDAO<T extends IdentifierVO<Id>, Id extends Comparable<Id>> extends ReadDAO<T, Id> {
	
	public T createNewBean() throws InstantiationException, IllegalAccessException;

	public void saveOrUpdate(T instance);
	
	public void delete(T instance);
	
	public void delete (Id identifier);
}
